Movie controller components provide an action filter function that you establish with the MCSetActionFilterWithRefCon function (described on MCSetActionFilterWithRefCon ).
Your action filter function, MyPlayerFilterWithRefCon , should be in this form:
Boolean MyPlayerFilterWithRefCon (MovieController mc,
short action,
void *params, long refCon);
Your filter function must return a Boolean value indicating whether it handled the action. Set the returned Boolean value to true if your function completely handles the action. In this case, the movie controller component performs no additional processing for the action. Set the returned value to false if your function does not handle the action. The movie controller component then performs the appropriate processing for the action.